<?php

namespace App\Http\Models;

use App\Observers\NoticeObserver;
use Illuminate\Database\Eloquent\Model;


class Notice extends Base
{
    public function owner(){
        return $this->belongsTo(FangOwner::class,'fangowner_id');
    }

    protected static function boot(){
        parent::boot();
        self::observe(NoticeObserver::class);
    }
}
